package ttc.mBackup.BackupAndRestoreSMS;


import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.view.View;
import android.widget.Button;

public class SMSBackupActivity extends Activity {
    /** Called when the activity is first created. */
	private Button m_btnAllSMS;
	private Button m_btnListSMS;
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        //setContentView(R.layout.);
        setContentView(R.layout.main_sms);
        m_btnAllSMS=(Button)findViewById(R.id.btnAllSMS);
        m_btnListSMS=(Button)findViewById(R.id.btnListSMS);
        setButtonAllSMSOnClick();
        setButtonListSMSOnClick();
    }
    private void setButtonAllSMSOnClick()
    {
    	m_btnAllSMS.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				
				
			}
		});
    }
    private void setButtonListSMSOnClick()
    {
    	m_btnListSMS.setOnClickListener(new View.OnClickListener() {
			
			@Override
			public void onClick(View v) {
				// TODO Auto-generated method stub
				Intent i = new Intent(SMSBackupActivity.this,SMSList.class);
				startActivity(i);
			}
		});
    }
    
}